package com.woniu113.junk.site.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu113.junk.site.dto.FindAllWastePriceDTO;
import com.woniu113.junk.site.model.WastePrice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 蜡笔没了小新
 * @since 2024年10月16日
 */
@Mapper
public interface WastePriceMapper extends BaseMapper<WastePrice> {

    List<FindAllWastePriceDTO> findAll(@Param("minPrice") BigDecimal minPrice, @Param("bigPrice") BigDecimal bigPrice,@Param("typeId") Integer typeId,@Param("stationId") Integer stationId, Page<FindAllWastePriceDTO> page);
}
